package com.js.mapper;

import com.js.pojo.Attendance;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AttendanceMapper {
    //添加考勤
    int addAttendance(Attendance attendance);
    //根据id删除考勤
    int deleteAttendanceById(@Param("id") int id);
    //更新Attendance
    int updateAttendance(Attendance attendance);
    //查找(根据id)
    Attendance queryAttendanceById(@Param("id") int id);
    //查询全部考勤
    List<Attendance> queryAllAttendance();
    //模糊查询 考勤姓名
    List<Attendance> queryAttendanceByName(String attendanceName);
}
